//***********************************************************************
//  Words.java   Author: Lewis/Loftus
//
//  Demonstrates the use of an inherited method.
//***********************************************************************

public class Words
{
   //--------------------------------------------------------------------
   //  Instantiastes a derived class and invokes its inherited and
   //  local methods.
   //--------------------------------------------------------------------
   public static void main(String[] args)
   {
       Dictionary webster = new Dictionary();

       System.out.println("Number of page: " + webster.getPage());

       System.out.println("Number of definitions: " + webster.getDefinitions());

       System.out.println("Definitions per page: " + webster.computeRatio());
   }
}
